package com.zhengb.algorithmdemo.exam.linear;

/**
 * 数据节点定义
 *
 * @author zhengbo
 * @date 2020/2/25
 */
public class DataPoint {

    private final Double factorX;

    private final Double factorY;

    private final Double result;

    public DataPoint(Double factorX, Double factorY, Double result) {
        this.factorX = factorX;
        this.factorY = factorY;
        this.result = result;
    }

    public Double getFactorX() {
        return factorX;
    }

    public Double getFactorY() {
        return factorY;
    }

    public Double getResult() {
        return result;
    }

}
